import request1 from '@/utils/request1';


/**
 * 删除房间
 */
export function DeleteRoom(params) {
    return request1('services/app/Room/DeleteRoom',  {
        data: params,
    });
    
}

/**
 * 修改房间
 */
export function UpdateRoom(params) {
  return request1('services/app/Room/UpdateRoom',  {
    method:'PUT',
    data: params,
  });

}

/**
 * 创建房间
 */
export function CreateRoom(params) {
  return request1('services/app/Room/CreateRoom',  {
    method:'POST',
    data: params
  });

}

/**
 * 获取小院详情
 */
export function Get(params) {
  return request1('services/app/Room/Get',  {
    data: params,
  });

}

/**
 * 获取房间列表
 */
export function GetAll(params) {
  return request1('services/app/Room/GetAll',  {
    data: params,
  });

}

/**
 * 获取房间特殊价格
 */
export function GetRoomPrice(params) {
  return request1('services/app/Room/GetRoomPrice',  {
    data: params,
  });

}

/**
 * 获取房间特殊价格用户设置
 */
export function GetRoomPriceSetUp(params) {
  return request1('services/app/Room/GetRoomPriceSetUp',  {
    method:"GET",
    data: params,
  });

}

/**
 * 保存房间特殊价格
 */
export function SaveRoomPrice(params) {
  return request1('services/app/Room/SaveRoomPrice',  {
    method:"POSt",
    data: params,
  });

}
